<?PHP
/* Generieke definitie file */
error_reporting(E_ALL);
include_once '/defs/constants.php';
include_once DIR_INCLUDE. 'debug.php';
include_once DIR_DATABASE. 'database.php';
include_once DIR_DEFINES.'db_constants.php';
//include_once ('connect.php');



/* Taal specifieke tekst */

include_once DIR_LANGUAGE.DIR_LANGUAGE_NL.'general.php';

include_once DIR_CLASS.FILE_TICKETSYSTEEM;
include_once DIR_CLASS. 'ticketsysteem_location.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style/style_admin.css" rel="stylesheet" type="text/css" />
<title>MinEvents - Ticketoverzicht</title>
</head>

<body>
<!-- begin wrapper_achtergrond -->	<div class="wrapper_achtergrond">
<!-- begin wrapper--> 				<div class="wrapper">

<!-- begin header-->				<div class="header">

<!-- begin header_logo-->			<div class="header_logo">
<!-- einde header_logo-->			</div>


<!-- begin header_menu-->			<div class="header_menu">

<!-- begin header_instellingen-->	<div class="header_instellingen">
									<a href="#"><img src="images/instellingen.png" /></a>
<!-- einde header_instellingen-->	</div>

<!-- begin header_instellingen-->	<div class="header_FAQ">
									<a href="#"><img src="images/faq.png" /></a>
<!-- einde header_instellingen-->	</div>

<!-- begin header_instellingen-->	<div class="header_uitloggen">
									<a href="#"><img src="images/uitloggen.png" /></a>
<!-- einde header_instellingen-->	</div>

<!-- einde header_menu-->			</div>

<!-- einde header-->				</div>

									<div class="sidebar">

									<div class="home_button">
                                    <a href="Ticketsysteem_Admin.php"><img src="images/home_button.png" /></a>
                                    </div>

									<div class="kleine_button_1">
                                    <div class="kleine_button_1_titel"><a href="Ticketformulier_Admin.php">Ticketformulier</a></div>
									</div>
                                    

									<div class="kleine_button_2">
                                    <div class="kleine_button_2_titel"><a href="Ticketoverzicht_Admin.php">Ticketoverzicht</a></div>
									</div>

									<div class="kleine_button_3">
                                    <div class="kleine_button_3_titel"><a href="EigenTickets_Admin.html">Eigen tickets</a></div>
									</div>
                                    
                                    </div>

<div class="content">
<font size="+2"> Ticketoverzicht</font>
<br /><br />
<?php
if(!empty($_GET['ticket_id'])) {
("SELECT * FROM ticketsysteem WHERE ticket_id='".$_GET['ticket_id']."'");
        $test2 = new DbTicketsysteem($_GET['ticket_id']);
        

       echo "ID: " . $test2->getTicketId() . "<BR>" ;
       echo "STATUS ID " . $test2->getStatusId() . "<BR>";
       echo "PERSOON ID: " . $test2->getPersId() . "<BR>";
       echo "LOC ID: " . $test2->getLocId() . "<BR>";
       echo "PRIO ID: " . $test2->getPrioId() . "<BR>";
       echo "TICKET TITEL: " . $test2->getTicketTitel() . "<BR>";
       echo "TICKET BESCHRIJVING: " . $test2->getTicketBeschrijving() . "<BR>";
       echo "TICKET VOORTGANG: " . $test2->getTicketProgress() . "<BR>";
       echo "TICKET CREATE TIJD: " . $test2->getTicketCreate() . "<BR>";
       echo "TICKET END TIJD: " . $test2->getTicketEnd() . "<BR>";
}
else{
   echo 'De details van de ticket kunnen niet worden opgehaald!';
}
?>
<br>
<b>Wilt u terug naar de overzichten? <u><A HREF="javascript:javascript:history.go(-1)">Klik Hier!</A></u></b>
</div>

<div class="footer">
Realisatie: Stichting Innovision Solutions
</div>
<!-- einde footer -->				</div>
<!-- einde wrapper -->				</div>
<!-- einde wrapper_achtergrond -->
</body>
</html>